package com.qianfeng.bob.xiexiaobo.bean;

import com.google.gson.Gson;

import java.util.List;

/**
 * Created by Bob on 2015/12/19.
 */
public class Test    {


    /**
     * count : 30
     * err : 0
     * items : [{"format":"word","image":null,"published_at":1450507509,"tag":"","user":{"avatar_updated_at":1449622761,"last_visited_at":1441602246,"created_at":1441602246,"state":"active","email":"","last_device":"android_8.0.2","role":"n","login":"~迷茫的小狼~","id":30240289,"icon":"20151209005920.jpg"},"image_size":null,"id":114321612,"votes":{"down":-158,"up":7628},"created_at":1450506501,"content":"以前有一个群，叫单身群，群主说结婚了的都踢掉，直到昨天就剩我和群主2个人了，今天群主把群转让给我是几个意思？","state":"publish","comments_count":85,"allow_comment":true,"share_count":92,"type":"hot"},{"format":"word","image":null,"published_at":1450507510,"tag":"","user":{"avatar_updated_at":0,"last_visited_at":1443825198,"created_at":1443825198,"state":"active","email":"","last_device":"ios_7.3.2","role":"n","login":"名字很邪恶","id":30383692,"icon":"20151002223443.jpg"},"image_size":null,"id":114321296,"votes":{"down":-136,"up":4882},"created_at":1450504627,"content":"婚期临近时，有一次岳母在饭桌上说突然说了句：对她不要太好，该打还是要打的。我瞥见她父亲眼中闪过一丝心疼，女友眼中闪过一丝狡黠。婚后第一次争吵，她就把我挠得面目全非。。。事后我曾私底下向岳父提起那句话，岳父颇有深意地说：你确定你丈母娘那句话是说给你听的？","state":"publish","comments_count":35,"allow_comment":true,"share_count":97,"type":"hot"},{"format":"word","image":null,"published_at":1450507510,"tag":"","user":{"avatar_updated_at":1450553176,"last_visited_at":1416713399,"created_at":1416713399,"state":"active","email":"","last_device":"ios_3.3.2","role":"n","login":"双棺","id":23012337,"icon":"20151219192616.jpg"},"image_size":null,"id":114321238,"votes":{"down":-82,"up":3595},"created_at":1450504288,"content":"高中宿舍终于装了空调，一高三的学姐对我说：\u201c你们太幸福了，我们那时候都不知道是睡着了还是热晕过去的。\u201d","state":"publish","comments_count":19,"allow_comment":true,"share_count":8,"type":"hot"},{"format":"word","image":null,"published_at":1450519505,"tag":"","user":{"avatar_updated_at":1448452515,"last_visited_at":1396187376,"created_at":1396187376,"state":"bonding","email":"1115660023@qq.com","last_device":"android_2.8.1","role":"n","login":"小泽武藤空.","id":15186944,"icon":"20151125115515.jpg"},"image_size":null,"id":114323626,"votes":{"down":-15,"up":447},"created_at":1450518037,"content":"安静的在屋里织围巾\u2026\u2026老爸进来了，皱着眉头盯着看了半天，我问他怎么了，我爸说\u201c闺女啊，我看你织过的围巾都不下十条了，你咋还嫁不出去呢？\u201d我一时间也是无言以对啊！摔！！！","state":"publish","comments_count":23,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1450523101,"tag":"","user":{"avatar_updated_at":1434811734,"last_visited_at":1434811732,"created_at":1434811732,"state":"active","email":"","last_device":"web","role":"n","login":"死亡骷髅","id":29055726,"icon":"20150620224853.jpg"},"image_size":null,"id":114324072,"votes":{"down":-18,"up":300},"created_at":1450520322,"content":"前几天跟老婆去KF，小旅馆，隔音很差的说。\n 老婆在用那个老式电脑上网，那真的很慢的呀，她在哪里捣鼓了半天了，\n 我们2个都急死。我等不了说了一句：老婆别上网了，上我吧。\n 声音有点大。不料隔壁传来一声小但清晰的声音：老婆，我跟隔壁想法一样\u2026\u2026","state":"publish","comments_count":7,"allow_comment":true,"share_count":3},{"format":"word","image":null,"published_at":1450528802,"tag":"","user":{"avatar_updated_at":0,"last_visited_at":1442407517,"created_at":1442407517,"state":"active","email":"","last_device":"android_8.0.2","role":"n","login":"会飞的小虫","id":30293903,"icon":"20150916124517.jpg"},"image_size":null,"id":114324378,"votes":{"down":-7,"up":45},"created_at":1450521789,"content":"男生捧着鲜花，在女生楼下摆满蜡烛，向心仪的妹子表白。然而被宿管大妈用水浇灭，哈哈，原谅我笑点低，没猜中结尾！","state":"publish","comments_count":1,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1450518901,"tag":"","user":{"avatar_updated_at":1449321919,"last_visited_at":1432950228,"created_at":1432950228,"state":"active","email":"","last_device":"android_6.7.1","role":"n","login":"A威猛的小老虎A","id":28702222,"icon":"20151205132519.jpg"},"image_size":null,"id":114323454,"votes":{"down":-32,"up":625},"created_at":1450517028,"content":"昨晚下班去玩了，都快12点才回去，到巷子里听见一个小孩在哭，她妈妈就吓她说有鬼，我本着雷锋的精神恐怖的嗷了一嗓子，结果她娘俩都哭啦。","state":"publish","comments_count":11,"allow_comment":true,"share_count":6},{"format":"word","image":null,"published_at":1450516510,"tag":"","user":{"avatar_updated_at":1443781605,"last_visited_at":1408418016,"created_at":1408418016,"state":"bonding","email":"k920821@icloud.com","last_device":"ios_3.1.2","role":"n","login":"叫我张董","id":19643791,"icon":"20151002102644.jpg"},"image_size":null,"id":114323212,"votes":{"down":-37,"up":911},"created_at":1450515429,"content":"做个包皮手术花了一万多，半个月了都没好。今天科室主任来查房，我哭着说：能不能把那个调皮的小护士换了！","state":"publish","comments_count":35,"allow_comment":true,"share_count":2},{"format":"word","image":null,"published_at":1450519505,"tag":"","user":{"avatar_updated_at":0,"last_visited_at":1448343186,"created_at":1448343186,"state":"active","email":"","last_device":"android_8.3.3","role":"n","login":"海贼王剧场版","id":30673521,"icon":"20151124053306.jpg"},"image_size":null,"id":114323472,"votes":{"down":-21,"up":440},"created_at":1450517114,"content":"闺密在闹分手，因为是学生，每次他们约会都是放学后。我问她为什么分手，她答案是，天太冷了，摸着胸，她好凉，男朋友不听话，每次都摸！！！理由好奇葩_","state":"publish","comments_count":10,"allow_comment":true,"share_count":4},{"format":"word","image":null,"published_at":1450524301,"tag":"","user":{"avatar_updated_at":1449817813,"last_visited_at":1377409075,"created_at":1377409075,"state":"bonding","email":"fuqiangji@yeah.net","last_device":"android_2.5.3","role":"n","login":"烟无醉","id":10906479,"icon":"20151211071013.jpg"},"image_size":null,"id":114324521,"votes":{"down":-7,"up":199},"created_at":1450522656,"content":"惹老婆生气了，她坐在副驾上，流着眼泪望着窗外，突然大叫：停车！\n不敢答话，真敢放她下去，还不扇死我？只能装没听见，继续行驶了一段。。\n\n她愤怒地瞪着我，举起手机要砸我脑门的架势啊：你找屎是吗？给我调头，回去刚路过的广 告牌下面！\n卧槽！肯定看上什么包了，败家娘们！\n我还是歪着脖子、掉头回去停她说的地方了，她立马急着蹦下去了。。。。。。。\n。。。。\n\n诶呦～！她居然弯着腰，捡起一张邹巴巴的5块钱，吹了吹泥土，笑呵呵地钻回了车里，特么的！什么伤心都没了！","state":"publish","comments_count":28,"allow_comment":true,"share_count":3,"type":"fresh"},{"format":"word","image":null,"published_at":1450517102,"tag":"","user":{"avatar_updated_at":1450420504,"last_visited_at":1447050600,"created_at":1447050600,"state":"active","email":"","last_device":"android_8.3.2","role":"n","login":"逆风飞翔的单车","id":30591370,"icon":"20151218063503.jpg"},"image_size":null,"id":114323229,"votes":{"down":-35,"up":772},"created_at":1450515626,"content":"一哥们失恋了，大伙在一起喝酒\n就劝他，各种安慰。\n这哥们就是一声不发。\n闷头喝酒，最后众人都没啥可劝的了\n\n这哥们突然哭着说:\u201c你们知道我俩为啥分的吗？她特么说和我站着接吻，有种卑躬屈膝的感觉，每次做都感觉身上像趴着一只蛤蟆\u201d\n\n。。。噗。。。卧槽。。。尼玛这。。。。。。","state":"publish","comments_count":30,"allow_comment":true,"share_count":5},{"format":"word","image":null,"published_at":1450518307,"tag":"","user":{"avatar_updated_at":1433392476,"last_visited_at":1420685439,"created_at":1420685439,"state":"active","email":"","last_device":"android_5.0.0","role":"n","login":"姜花深处无少年。","id":24603070,"icon":"20150604123436.jpg"},"image_size":null,"id":114323191,"votes":{"down":-27,"up":558},"created_at":1450515292,"content":"一句话证明自己不是亲生的。记得小时候跟家里闹翻了，离家出走（去同学家里呆了两天），第三天回家，正赶上家里吃饺子。","state":"publish","comments_count":8,"allow_comment":true,"share_count":3},{"format":"word","image":null,"published_at":1450519505,"tag":"","user":{"avatar_updated_at":1450209726,"last_visited_at":1450209725,"created_at":1450209725,"state":"active","email":"","last_device":"android_8.4.0","role":"n","login":"淡眸伊人","id":30790427,"icon":"20151215200206.jpg"},"image_size":null,"id":114323624,"votes":{"down":-21,"up":546},"created_at":1450518027,"content":"老公昨天跟我说：认识你之前想的是赚了钱，再娶老婆，所以有几个女孩主动追我，我都不要。后来发现赚钱太难了，还是先娶老婆吧！\n。。。说的我好像TM多幸运似的！","state":"publish","comments_count":7,"allow_comment":true,"share_count":4},{"format":"word","image":null,"published_at":1450528802,"tag":"","user":{"avatar_updated_at":1403580534,"last_visited_at":1393138453,"created_at":1393138453,"state":"active","email":"","last_device":"ios_2.7","role":"n","login":"别说你爱我我是陈伯","id":14332162,"icon":"20140624112854.jpg"},"image_size":null,"id":114324063,"votes":{"down":-9,"up":42},"created_at":1450520275,"content":"快过年了讲个过年的。。哥哥好大的。。 我们这过年有个习俗，年三十晚上要用两个奶头的猪肉贡菩萨（必须是两个，多了少了都不行），去年年三十早上我去我们那小店拿了最后一份，后面有个大妈来问有没有了，老板说没了，大妈就急了，没有了怎么办，老板也没办法，不可能为了她还特地杀个猪吧，然后他想了个办法，他从其他的只有单个奶头的肉上割了两个奶头又给她割了块肉拿给大妈，说你拿回去用胶水粘一下，反正贡菩萨的，没事。。噗。。旁边的我忍不住笑弯了腰。。","state":"publish","comments_count":0,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1450518308,"tag":"","user":{"avatar_updated_at":1443781605,"last_visited_at":1408418016,"created_at":1408418016,"state":"bonding","email":"k920821@icloud.com","last_device":"ios_3.1.2","role":"n","login":"叫我张董","id":19643791,"icon":"20151002102644.jpg"},"image_size":null,"id":114323183,"votes":{"down":-26,"up":490},"created_at":1450515249,"content":"当你要开口说话时，你所说的话必须比你的沉默更有价值才行。","state":"publish","comments_count":14,"allow_comment":true,"share_count":5},{"format":"word","image":null,"published_at":1450521903,"tag":"","user":{"avatar_updated_at":1443518593,"last_visited_at":1366015568,"created_at":1366015568,"state":"active","email":" ","last_device":"android_2.3","role":"n","login":"大盗盗社稷","id":8383199,"icon":"20150929092312.jpg"},"image_size":null,"id":114323851,"votes":{"down":-10,"up":217},"created_at":1450519168,"content":"部队二三事之老兵以新换旧，本为自己却被赞雷锋。\n话说当过兵的都知道刚发下来的作战靴搁脚吧。\n不知从哪年起，我们连的老兵在下发作战靴后不穿，等新兵把新的穿的旧了就拿新的换\u2026\u2026\n后来某次领导来蹲点见新兵全是一水儿的新靴子，老油子的全是皱皱的。\n领导就拉了个新兵问为啥，新兵就说是班长换的。\n领导听后大悅，你们连的老兵还真是活雷锋啊","state":"publish","comments_count":22,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1450518901,"tag":"","user":{"avatar_updated_at":1420184677,"last_visited_at":1420184677,"created_at":1420184677,"state":"active","email":"","last_device":"android_4.0.0","role":"n","login":"下一年任务启动中","id":24389605,"icon":"20150102154437.jpg"},"image_size":null,"id":114323432,"votes":{"down":-16,"up":351},"created_at":1450516870,"content":"感谢媳妇啊，上午去医院钱包丢了，结果小偷又给我送到总服务台了。哈哈。里边啥也没有，还好你下手早啊媳妇 ，零钱都没给我剩。","state":"publish","comments_count":7,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1450521302,"tag":"","user":{"avatar_updated_at":1449681707,"last_visited_at":1417252834,"created_at":1417252834,"state":"active","email":"","last_device":"ios_3.3.2","role":"n","login":"王静雅我一生的梦","id":23255547,"icon":"20151209172147.jpg"},"image_size":null,"id":114323741,"votes":{"down":-15,"up":260},"created_at":1450518643,"content":"我们村一老头，脾气大，只要给他媳妇吵架就摔碗，只要一摔碗 他媳妇就不做饭，天天烙馍，（一种比较硬的面食）老头没牙，吃不动，一吃都是十来天，老头看见都想哭！都是泪","state":"publish","comments_count":11,"allow_comment":true,"share_count":2},{"format":"word","image":null,"published_at":1450518307,"tag":"","user":{"avatar_updated_at":1449603313,"last_visited_at":1449603312,"created_at":1449603312,"state":"active","email":"","last_device":"web","role":"n","login":"色色视频口口4486232","id":30750551,"icon":"20151208193512.jpg"},"image_size":null,"id":114323255,"votes":{"down":-15,"up":484},"created_at":1450515803,"content":"郁闷。网购了一个紫色女士钱包，收到的却是黑色男士钱包。重点是客服不说话，商品过期，店铺不存在。","state":"publish","comments_count":12,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1450524303,"tag":"","user":{"avatar_updated_at":1437330134,"last_visited_at":1414723224,"created_at":1414723224,"state":"active","email":"","last_device":"ios_3.3.1","role":"n","login":"屈仁龙","id":22236231,"icon":"20150719182213.jpg"},"image_size":null,"id":114324538,"votes":{"down":-10,"up":234},"created_at":1450522742,"content":"还记得学校卖的包子，第一口咬下去没有馅，第二口咬下去还是没有馅，第三口吃完了还是没有馅。馅去哪里了？因为馅太小了，第一口没有咬到，第二口咬过了。","state":"publish","comments_count":1,"allow_comment":true,"share_count":1},{"format":"word","image":null,"published_at":1450521302,"tag":"","user":{"avatar_updated_at":1441485843,"last_visited_at":1376785327,"created_at":1376785327,"state":"active","email":"","last_device":"android_2.5.3.2","role":"n","login":"ELANTRA","id":10786650,"icon":"20150905204403.jpg"},"image_size":null,"id":114323990,"votes":{"down":-17,"up":275},"created_at":1450519848,"content":"每年过年回家之前，无论在外面混的好歹，都要添几件衣服，打扮一番，不是为了装逼攀比，而是为了让父母放心，开心过年\u2026\u2026","state":"publish","comments_count":6,"allow_comment":true,"share_count":0},{"format":"word","image":null,"published_at":1450527302,"tag":"","user":{"avatar_updated_at":1426910961,"last_visited_at":1426910960,"created_at":1426910960,"state":"active","email":"","last_device":"android_6.3.0","role":"n","login":"啦啦啦终于进来了","id":26820994,"icon":"20150321120921.jpg"},"image_size":null,"id":114324971,"votes":{"down":-5,"up":91},"created_at":1450524711,"content":"今天听一神回复:\n两个同事斗嘴，\u201c我还不了解你，你一撅屁股我就知道你拉什么屎！\u201d\n\u201c吆，这么多年没白吃啊。\u201d\n。。。","state":"publish","comments_count":2,"allow_comment":true,"share_count":1,"type":"fresh"},{"format":"word","image":null,"published_at":1450508703,"tag":"","user":{"avatar_updated_at":1395933667,"last_visited_at":1393461224,"created_at":1393461224,"state":"active","email":"","last_device":"android_2.7.1","role":"n","login":"a比刀郎还冲动","id":14402808,"icon":"20140327232108.jpg"},"image_size":null,"id":114321527,"votes":{"down":-82,"up":3012},"created_at":1450506019,"content":"一二货朋友 某晚骑着摩托车疾驰在乡间公路上 他突然看到一颗流星划过天际 他急忙双手合十闭眼许愿。。。我刚在医院看过他","state":"publish","comments_count":25,"allow_comment":true,"share_count":11,"type":"promote"},{"format":"word","image":null,"published_at":1450521302,"tag":"","user":{"avatar_updated_at":1450395078,"last_visited_at":1450395077,"created_at":1450395077,"state":"active","email":"","last_device":"android_8.4.0","role":"n","login":"赤瞳幽灵","id":30802675,"icon":"20151217233117.jpg"},"image_size":null,"id":114323909,"votes":{"down":-21,"up":319},"created_at":1450519412,"content":"一日，丈夫和妻子在嘿咻。突然妻子开灯，看到丈夫在用黄瓜。妻子大怒:你用这玩意糊弄我三年了？丈夫:没错，我就想知道我们的两个孩子哪来的！","state":"publish","comments_count":8,"allow_comment":true,"share_count":7},{"format":"word","image":null,"published_at":1450511702,"tag":"","user":null,"image_size":null,"id":114322298,"votes":{"down":-71,"up":1877},"created_at":1450510424,"content":"和女朋友及她的闺蜜去泡温泉，几个闺蜜也都带了男朋友。。割了吧。。回来的时候女票说了一句，为什么你穿泳裤那里都不凸起来的，让我好没面子。\n尼玛。。。","state":"publish","comments_count":41,"allow_comment":true,"share_count":17,"type":"hot"},{"format":"word","image":null,"published_at":1450524901,"tag":"","user":{"avatar_updated_at":1397289857,"last_visited_at":1395585739,"created_at":1395585739,"state":"active","email":"","last_device":"android_2.8","role":"n","login":"河南郑州~HeLun","id":14970726,"icon":"20140412160410.jpg"},"image_size":null,"id":114324665,"votes":{"down":-8,"up":172},"created_at":1450523330,"content":"就昨晚，玩手机斗地主，二货媳妇在我旁边看，我一直超级加倍，各种赢豆\u2026\u2026\u2026这一把最大牌就一个K，我准备闪退游戏，这货竟然一脸严肃的说:你可别退，一退都该启动BB机了，输得更多！！对，你没听错，是启动BB机！\u2026那叫托管好么？媳妇/擦汗/擦汗！大神给过吧","state":"publish","comments_count":1,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1450509301,"tag":"","user":{"avatar_updated_at":0,"last_visited_at":1445799568,"created_at":1445799568,"state":"active","email":"","last_device":"android_8.2.1","role":"n","login":"超过也很难","id":30516537,"icon":"20151025185928.jpg"},"image_size":null,"id":114321687,"votes":{"down":-74,"up":2407},"created_at":1450506910,"content":"孩子9岁，昨天晚上4个家庭一起去KTV，当4个孩子合唱我们是共产主义接班人，真的感叹，我们还没有接班，你们都开始接班了！后来孩子们又唱，兄弟你累了，也该歇歇了，家长集体笑喷了。。。","state":"publish","comments_count":13,"allow_comment":true,"share_count":9,"type":"hot"},{"format":"word","image":null,"published_at":1450525522,"tag":"","user":{"avatar_updated_at":1450298078,"last_visited_at":1448631897,"created_at":1448631897,"state":"active","email":"","last_device":"ios_8.2.15","role":"n","login":"总会找到证据","id":30691734,"icon":"20151216203437.jpg"},"image_size":null,"id":114324643,"votes":{"down":-6,"up":146},"created_at":1450523254,"content":"捡到一只贵宾犬，养了一个多月，一个小姑娘找上门来，说是她的，果然小狗对她挺亲热的，但喜欢小狗，还买了好多狗粮，有点不死心问：小狗有什么特征？小姑娘说：小狗蛋蛋有大小，一看果然。突然感到信息量好大。","state":"publish","comments_count":6,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1450525522,"tag":"","user":{"avatar_updated_at":1419493633,"last_visited_at":1416368633,"created_at":1416368633,"state":"active","email":"","last_device":"android_3.4.2","role":"n","login":"逗逼是动词你造吗","id":22858025,"icon":"20141225154713.jpg"},"image_size":null,"id":114323733,"votes":{"down":-6,"up":151},"created_at":1450518582,"content":"昨天在街上。忽然听后面有大叔，很急切地喊：\u201c那个！等一下！那个谁！\u2026\u2026那个\u2026\u2026做汉奸那个小伙子！！\u201d 一大片人停步。 我还没反应过来，只见边上一个哥们，一脸汗颜地站在那里，一字一字地咬着说：\u201c我是做日语翻译\u2026\u201d","state":"publish","comments_count":6,"allow_comment":true,"share_count":0,"type":"fresh"},{"format":"word","image":null,"published_at":1450527902,"tag":"","user":{"avatar_updated_at":1434984840,"last_visited_at":1412739963,"created_at":1412739963,"state":"bonded","email":"820446716@qq.com","last_device":"android_3.4.0","role":"n","login":"S松子","id":21471215,"icon":"20150622225400.jpg"},"image_size":null,"id":114325072,"votes":{"down":-7,"up":63},"created_at":1450525153,"content":"糗麼？真事，小时候住村里，隔壁有个熊孩子和父母吵架，那熊孩子就说了句，我跳塘去了，然后就往外跑，父母在后面追，晚上村里没灯，父母追不上，那熊孩子拿块大石头扔塘里，人就跑了，父母听见水声以为孩子真跳下去了，到处借电筒，喊救命，晚上几啊，村里大半人下去摸，结果那熊孩子在塘对面笑，父母看见了，那一顿打啊，高潮是，没人去拉，都说打的好！","state":"publish","comments_count":2,"allow_comment":true,"share_count":0,"type":"fresh"}]
     * total : 300
     * page : 1
     * refresh : 300
     */

    private int count;
    private int err;
    private int total;
    private int page;
    private int refresh;
    /**
     * format : word
     * image : null
     * published_at : 1450507509
     * tag :
     * user : {"avatar_updated_at":1449622761,"last_visited_at":1441602246,"created_at":1441602246,"state":"active","email":"","last_device":"android_8.0.2","role":"n","login":"~迷茫的小狼~","id":30240289,"icon":"20151209005920.jpg"}
     * image_size : null
     * id : 114321612
     * votes : {"down":-158,"up":7628}
     * created_at : 1450506501
     * content : 以前有一个群，叫单身群，群主说结婚了的都踢掉，直到昨天就剩我和群主2个人了，今天群主把群转让给我是几个意思？
     * state : publish
     * comments_count : 85
     * allow_comment : true
     * share_count : 92
     * type : hot
     */

    private List<ItemsEntity> items;

    public static Test objectFromData(String str) {

        return new Gson().fromJson(str, Test.class);
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void setErr(int err) {
        this.err = err;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public void setRefresh(int refresh) {
        this.refresh = refresh;
    }

    public void setItems(List<ItemsEntity> items) {
        this.items = items;
    }

    public int getCount() {
        return count;
    }

    public int getErr() {
        return err;
    }

    public int getTotal() {
        return total;
    }

    public int getPage() {
        return page;
    }

    public int getRefresh() {
        return refresh;
    }

    public List<ItemsEntity> getItems() {
        return items;
    }

    public static class ItemsEntity {
        private String format;
        private Object image;
        private int published_at;
        private String tag;
        /**
         * avatar_updated_at : 1449622761
         * last_visited_at : 1441602246
         * created_at : 1441602246
         * state : active
         * email :
         * last_device : android_8.0.2
         * role : n
         * login : ~迷茫的小狼~
         * id : 30240289
         * icon : 20151209005920.jpg
         */

        private UserEntity user;
        private Object image_size;
        private int id;
        /**
         * down : -158
         * up : 7628
         */

        private VotesEntity votes;
        private int created_at;
        private String content;
        private String state;
        private int comments_count;
        private boolean allow_comment;
        private int share_count;
        private String type;

        public static ItemsEntity objectFromData(String str) {

            return new Gson().fromJson(str, ItemsEntity.class);
        }

        public void setFormat(String format) {
            this.format = format;
        }

        public void setImage(Object image) {
            this.image = image;
        }

        public void setPublished_at(int published_at) {
            this.published_at = published_at;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public void setUser(UserEntity user) {
            this.user = user;
        }

        public void setImage_size(Object image_size) {
            this.image_size = image_size;
        }

        public void setId(int id) {
            this.id = id;
        }

        public void setVotes(VotesEntity votes) {
            this.votes = votes;
        }

        public void setCreated_at(int created_at) {
            this.created_at = created_at;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public void setState(String state) {
            this.state = state;
        }

        public void setComments_count(int comments_count) {
            this.comments_count = comments_count;
        }

        public void setAllow_comment(boolean allow_comment) {
            this.allow_comment = allow_comment;
        }

        public void setShare_count(int share_count) {
            this.share_count = share_count;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getFormat() {
            return format;
        }

        public Object getImage() {
            return image;
        }

        public int getPublished_at() {
            return published_at;
        }

        public String getTag() {
            return tag;
        }

        public UserEntity getUser() {
            return user;
        }

        public Object getImage_size() {
            return image_size;
        }

        public int getId() {
            return id;
        }

        public VotesEntity getVotes() {
            return votes;
        }

        public int getCreated_at() {
            return created_at;
        }

        public String getContent() {
            return content;
        }

        public String getState() {
            return state;
        }

        public int getComments_count() {
            return comments_count;
        }

        public boolean isAllow_comment() {
            return allow_comment;
        }

        public int getShare_count() {
            return share_count;
        }

        public String getType() {
            return type;
        }

        public static class UserEntity {
            private int avatar_updated_at;
            private int last_visited_at;
            private int created_at;
            private String state;
            private String email;
            private String last_device;
            private String role;
            private String login;
            private int id;
            private String icon;

            public static UserEntity objectFromData(String str) {

                return new Gson().fromJson(str, UserEntity.class);
            }

            public void setAvatar_updated_at(int avatar_updated_at) {
                this.avatar_updated_at = avatar_updated_at;
            }

            public void setLast_visited_at(int last_visited_at) {
                this.last_visited_at = last_visited_at;
            }

            public void setCreated_at(int created_at) {
                this.created_at = created_at;
            }

            public void setState(String state) {
                this.state = state;
            }

            public void setEmail(String email) {
                this.email = email;
            }

            public void setLast_device(String last_device) {
                this.last_device = last_device;
            }

            public void setRole(String role) {
                this.role = role;
            }

            public void setLogin(String login) {
                this.login = login;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setIcon(String icon) {
                this.icon = icon;
            }

            public int getAvatar_updated_at() {
                return avatar_updated_at;
            }

            public int getLast_visited_at() {
                return last_visited_at;
            }

            public int getCreated_at() {
                return created_at;
            }

            public String getState() {
                return state;
            }

            public String getEmail() {
                return email;
            }

            public String getLast_device() {
                return last_device;
            }

            public String getRole() {
                return role;
            }

            public String getLogin() {
                return login;
            }

            public int getId() {
                return id;
            }

            public String getIcon() {
                return icon;
            }
        }

        public static class VotesEntity {
            private int down;
            private int up;

            public static VotesEntity objectFromData(String str) {

                return new Gson().fromJson(str, VotesEntity.class);
            }

            public void setDown(int down) {
                this.down = down;
            }

            public void setUp(int up) {
                this.up = up;
            }

            public int getDown() {
                return down;
            }

            public int getUp() {
                return up;
            }
        }
    }
}
